package com.example.mallone11.merchant.service;

import com.example.mallone11.merchant.params.MerchantRequestParams;
import com.example.mallone11.merchant.pojo.Merchant;

import java.util.List;

public interface MerchantService {

    int addMerchant(MerchantRequestParams merchantRequestParams);
    Merchant findMerchantByName(String mname);
    Merchant login(MerchantRequestParams merchantRequestParams);

    int updateMerchant(Merchant merchant);


}
